#ifndef _NET_COMMUNICATION_HEAD_H
#define _NET_COMMUNICATION_HEAD_H

#include <vector>
#include <stdint.h>
#include <istream>
#include <string>

using namespace std;

class NetCommunication
{

public:
    virtual bool sendPacket(const vector<uint8_t> &packet) = 0;
    virtual bool recvPacket(vector<uint8_t> &pakcet, int timeout = -1) = 0;
};

#endif